package com.atde._05_behavioral_design_patterns.template;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._05_behavioral_design_patterns.template
 * @Author: Del
 * @CreateTime: 2025-06-25  09:42
 * @Description: 模版方法 --- 测试类
 * @Version: 1.0
 */
public class Client {
    public static void main(String[] args) {
        // 制作红豆豆浆
        SoyaMilk redBeanSoyaMilk = new RedBeanSoyaMilk();
        redBeanSoyaMilk.make();
        System.out.println("---------------------");
        // 制作花生豆浆
        SoyaMilk peanutSoyaMilk = new PeanutSoyaMilk();
        peanutSoyaMilk.make();
    }
}
